package com.langChain4j.api.enums;

import com.base.api.enums.BaseEnum;
import lombok.Getter;

/**
 * @author linjun
 * @date 2025/9/9 15:44
 * @description
 */
@Getter
public enum SessionEnum implements BaseEnum<String> {
    SESSION_STATUS_ACTIVE("active", "会话进行中"),
    SESSION_STATUS_END("completed", "会话已完成"),
    SESSION_STATUS_ERROR("interrupted", "会话终端"),
    ;

    private String code;

    private String label;

    SessionEnum(String code, String label) {
        this.code = code;
        this.label = label;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getLabel() {
        return this.label;
    }
}
